package com.hcbd.tdwt.ui.fuda.common.vo.weather;

/**
 * - @Description:  天气预报
 * - @Author:  LXJ
 * - @Time:  2019/7/31 11:43
 */
public class WeatherForecast {
    //预报日期，1970年1月1日到现在的天数，拿到该值乘以86400000即可变成时间戳
    int day;
    //最高温度
    int tmpMax;
    //最低温度
    int tmpMin;
    //白天天气情况状态代码
    int condCodeD;
    //晚上天气情况状态代码
    int condCodeN;
    //风向代码
    int windDir;
    //风力(风的等级),例：5级风
    int windSc;
    //风速，km/h
    int windSpd;
    //相对湿度
    int hum;
    //降雨量，mm
    int pcpn;
    //降雨概率
    int pop;
    //大气压强，hPa
    int pres;
    //紫外线指数
    int uvIndex;
    //能见度
    int vis;

    public WeatherForecast(int day, int tmpMax, int tmpMin, int condCodeD, int condCodeN, int windDir, int windSc, int windSpd, int hum, int pcpn, int pop, int pres, int uvIndex, int vis) {
        this.day = day;
        this.tmpMax = tmpMax;
        this.tmpMin = tmpMin;
        this.condCodeD = condCodeD;
        this.condCodeN = condCodeN;
        this.windDir = windDir;
        this.windSc = windSc;
        this.windSpd = windSpd;
        this.hum = hum;
        this.pcpn = pcpn;
        this.pop = pop;
        this.pres = pres;
        this.uvIndex = uvIndex;
        this.vis = vis;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public int getTmpMax() {
        return tmpMax;
    }

    public void setTmpMax(int tmpMax) {
        this.tmpMax = tmpMax;
    }

    public int getTmpMin() {
        return tmpMin;
    }

    public void setTmpMin(int tmpMin) {
        this.tmpMin = tmpMin;
    }

    public int getCondCodeD() {
        return condCodeD;
    }

    public void setCondCodeD(int condCodeD) {
        this.condCodeD = condCodeD;
    }

    public int getCondCodeN() {
        return condCodeN;
    }

    public void setCondCodeN(int condCodeN) {
        this.condCodeN = condCodeN;
    }

    public int getWindDir() {
        return windDir;
    }

    public void setWindDir(int windDir) {
        this.windDir = windDir;
    }

    public int getWindSc() {
        return windSc;
    }

    public void setWindSc(int windSc) {
        this.windSc = windSc;
    }

    public int getWindSpd() {
        return windSpd;
    }

    public void setWindSpd(int windSpd) {
        this.windSpd = windSpd;
    }

    public int getHum() {
        return hum;
    }

    public void setHum(int hum) {
        this.hum = hum;
    }

    public int getPcpn() {
        return pcpn;
    }

    public void setPcpn(int pcpn) {
        this.pcpn = pcpn;
    }

    public int getPop() {
        return pop;
    }

    public void setPop(int pop) {
        this.pop = pop;
    }

    public int getPres() {
        return pres;
    }

    public void setPres(int pres) {
        this.pres = pres;
    }

    public int getUvIndex() {
        return uvIndex;
    }

    public void setUvIndex(int uvIndex) {
        this.uvIndex = uvIndex;
    }

    public int getVis() {
        return vis;
    }

    public void setVis(int vis) {
        this.vis = vis;
    }

    @Override
    public String toString() {
        return "WeatherForecast{" +
                "day=" + day +
                ", tmpMax=" + tmpMax +
                ", tmpMin=" + tmpMin +
                ", condCodeD=" + condCodeD +
                ", condCodeN=" + condCodeN +
                ", windDir=" + windDir +
                ", windSc=" + windSc +
                ", windSpd=" + windSpd +
                ", hum=" + hum +
                ", pcpn=" + pcpn +
                ", pop=" + pop +
                ", pres=" + pres +
                ", uvIndex=" + uvIndex +
                ", vis=" + vis +
                '}';
    }
}
